home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / macros / latex / base / decustex.txt < prev    next >
Text File  |  1994-12-17  |  14KB  |  374 lines

  1.      LaTeX installation instructions for DECUS TeX (OpenVMS) 
  2.  
  3.                            15 August 1994 
  4.  
  5.  
  6. SUMMARY 
  7. ======= 
  8.  
  9. This file contains instructions on how to install LaTeX for 
  10. DECUS TeX on OpenVMS.  Before reading this file, you should read 
  11. install.txt, which will explain how the LaTeX installation works. 
  12.  
  13. This file describes: 
  14.  
  15.  * How to save any old version of LaTeX. 
  16.  
  17.  * How to unpack the LaTeX distribution. 
  18.  
  19.  * How to configure LaTeX. 
  20.  
  21.  * How to create the LaTeX format. 
  22.  
  23.  * How to install the LaTeX files. 
  24.  
  25.  * How to check the LaTeX installation. 
  26.  
  27.  * Post Installation Tasks. 
  28.  
  29.  * Running LaTeX with old versions (PD V3.4 and earlier) of DECUS TeX 
  30.  
  31.  
  32. SAVING ANY OLD VERSION OF LaTeX 
  33. =============================== 
  34.  
  35. If you are currently using the old LaTeX version, 2.09, you may wish 
  36. to save it before installing the new version of LaTeX. 
  37.  
  38. a) The old LaTeX 2.09 version will be kept in a subdirectory [.LATEX209] 
  39.    in your TeXinputs tree (normally TEX_ROOT:[INPUTS]). 
  40.  
  41.    When your LaTeX distribution was already installed in a subdirectory 
  42.    (e.g. [.LATEX]), simply execute a rename: 
  43.      RENAME TEX_ROOT:[INPUTS]LATEX.DIR  LATEX209.DIR 
  44.    (You may have to modify the file protection of the directory file.0 
  45.  
  46.    Otherwise, create a new subdirectory TEX_ROOT:[INPUTS.LATEX209] 
  47.    All style files (.STY) as well as LATEX.TEX, LPLAIN.TEX, LFONTS.TEX, 
  48.    SLITEX.TEX, SPLAIN.TEX, SFONTS.TEX, LHYPHEN.TEX, IDX.TEX, LABLST.TEX, 
  49.    MAKEINDEX.TEX, SAMPLE.TEX, SMALL.TEX, TRYFONTS.TEX, TESTPAGE.TEX and 
  50.    TESTA4.TEX should be moved into this directory. 
  51.  
  52. b) You need to set up a separate logical name for the LaTeX-2.09 search 
  53.    list; to prevent interference with the new LaTeX release: 
  54.    Edit the command procedure that is used to initialize the TeX system: 
  55.    This is probably the file STARTTEX.COM, located in TEX_ROOT:[000000]. 
  56.    Search for the definition of the TEX_INPUTS search list. Add a similar 
  57.    definition using another name (.e.g. LTX_INPUTS) by duplicating the 
  58.    search list in STARTTEX.COM. Change this new definition by adding 
  59.    an entry "TEX_ROOT:[INPUTS.LATEX209]" at the top of the list, so 
  60.    that the files from the old LaTeX-2.09 are accessed before the new files 
  61.    from LaTeX2e. 
  62.  
  63. c) To use the old LaTeX 2.09 format, you have to define a new command 
  64.    which uses the new logical name LTX_INPUTS as TeXinputs search path. 
  65.    This is archived by adding the following line to STARTTEX.COM (best 
  66.    place: just after the INITEX command definition): 
  67.  
  68.    "$   OLATEX :== TEX/FORMAT=TEX_FORMATS:LPLAIN/TEXINPUTS=LTX_INPUTS:" 
  69.  
  70. d) There is no need to rename the old format file LPLAIN.FMT. The new LaTeX 
  71.    format uses a different name (LATEX.FMT) per default. 
  72.    But if there is a command procedure to generate the format files, you 
  73.    might want to update it to reflect the changed location of the LaTeX-2.09 
  74.    sources. 
  75.  
  76. To install the recent changes, you have to reexecute the TeX initialization 
  77. procedure. To enshure that all logical names are properly redefined, you 
  78. should delete the logical name TEX_ROOT by 
  79.    "DEASSIGN TEX_ROOT" 
  80. (or simply log out and start a new session). 
  81.  
  82.  
  83. UNPACKING THE DISTRIBUTION 
  84. ========================== 
  85.  
  86. It is recommended that you keep the new LaTeX distributions an a 
  87. separate subdirectory. This simplifys later maintance work. 
  88. To unpack the sources, you should create a new directory, e.g: 
  89. TEX_ROOT:[INPUTS.LATEX.SRC]. 
  90. Copy the hole LaTeX distribution into this directory, and change 
  91. your working directory to this location with a SET DEFAULT command. 
  92. Now simply type 
  93.  "INITEX UNPACK.INS" 
  94. (after you have initialized the TeX system). The unpack procedure 
  95. should then proceed without errors. 
  96. The time needed for Unpacking depends on your hardware equipment. 
  97. On an Alpha AXP machine (DEC 3000/400), this will last less than 5 minutes; 
  98. on an older VAX, you will probably need an order of magnitude more time. 
  99. (But I have never tested it on a VAX...) 
  100.  
  101.  
  102.  
  103. CONFIGURING LATEX 
  104. ================= 
  105.  
  106. A) The TEXSYS.CFG file: 
  107. ----------------------- 
  108. If you have a recent version of DECUS TeX (3.1415, PD V3.5 or later), no 
  109. special texsys.cfg file is needed. DECUS TeX is now fully compatible with 
  110. the extended input checking techniques used in the new LaTeX (LaTeX2e). 
  111. For a usable texsys.cfg setup with older (outdated) versions of DECUS TeX, 
  112. see the section 
  113. "Running LaTeX with old versions (PD 3.4 and earlier) of DECUS TeX" 
  114. below. 
  115.  
  116. B) Setting up multilingual hyphenation patterns: 
  117. ------------------------------------------------ 
  118. If you want to use non USenglish hyphenation patterns (in addition 
  119. or as a replacement), you need to create a configuration file 
  120. "HYPHEN.CFG" to override the LaTeX defaults. 
  121. Your HYPHEN.CFG file should load all required hyphenation patterns. 
  122. At the end, the default language should be switched on and the appropiate 
  123. values of \lefthyphenmin and \righthyphenmin for this language should be 
  124. set. 
  125. It is strongly recommended to load the USenglish hyphenation patterns 
  126. as language 0 and to use this language as default to maintain compatibility 
  127. with other installations. This setup is needed to allow correct processing 
  128. of the delivered (english) LaTeX documentation files! 
  129. As an example for a HYPHEN.CFG file, a bilingual setup for german 
  130. and US english (can be used together with the babel package or german.sty) 
  131. is shown: 
  132. %% 
  133. %% This is file `hyphen.cfg', 
  134. %% 
  135. %% Modified for dual language support by Christian Spieler, 20. June 1994. 
  136. %% 
  137. %% This file is part of the LaTeX2e system. 
  138. %% ---------------------------------------- 
  139. %% 
  140.  
  141. \message{Loading hyphenation patterns for US english and German.} 
  142.  
  143. % PREPARING A FOREIGN LANGUAGE VERSION: 
  144. % This file loads hyphenation patterns for US english. 
  145. % If you want to load additional or other hyphenation patterns, 
  146. % you have to change this file, which is hereby allowed explicitly, 
  147. % under the restriction that if you do so, you MUST also change the 
  148. % message above. 
  149.  
  150. \message{US-English hyphenation} 
  151.  \language=0 
  152.  \chardef\l@USenglish=\language 
  153.  \input ushyphen \input ushyphen.upd 
  154.  
  155. \message{German hyphenation} 
  156.  \newlanguage\l@german 
  157.  \language=\l@german 
  158.  \input ghyphen 
  159.  
  160. \language=\l@USenglish % USenglish as Default 
  161. \lefthyphenmin=2 \righthyphenmin=3 % disallow x- or -xx breaks 
  162. \endinput 
  163. %% 
  164. %% End of file `hyphen.cfg'. 
  165.  
  166. For a nongerman country, the needed modifications are obvious. 
  167. Further information can be found in "texpert.txt" and "lthyphen.dtx". 
  168.  
  169. C) Memory requirements: 
  170. ----------------------- 
  171. LaTeX2e needs more main memory, string memory and hash space to 
  172. store its macros than previous versions of LaTeX. 
  173. Since DECUS TeX is compiled as (64 bit) BigTeX with large memory arrays, 
  174. this should not impose any problems. 
  175. When you have got a newer version of DECUS TeX (3.1415 PD 3.3a or later) 
  176. there should be enough pattern memory to load at least hyphenation patterns 
  177. for three different languages. The sizes of the current version (PD 3.5) 
  178. are: 
  179.   trie size:                    45000 
  180.   trie op size:                  1000 
  181.   trie op size per language:      511 
  182.  
  183. The bad news: 
  184. Up to now, DECUS TeX does not allow to adjust its internal arrays at 
  185. run time. Therefore, if you really need more space somewhere, you 
  186. have to recompile TeX -- the program -- with the appropiate changes, 
  187. sorry. 
  188.  
  189.  
  190.  
  191. CREATING THE LaTeX FORMAT 
  192. ========================= 
  193.  
  194. Be sure that all hyphenation pattern sources requested by HYPHEN.CFG 
  195. are accessible through the TEX_INPUTS search list. When you did not 
  196. create a HYPHEN.CFG file, at least the US english hyphenation pattern 
  197. must be found this way under the name HYPHEN.TEX. 
  198.  
  199. To create the LaTeX format the first time, you should apply 
  200. the command: 
  201.  
  202.   initex latex.ltx 
  203.  
  204. in the directory where you have unpacked the distribution. 
  205. This will create a file LATEX.FMT in this directory without 
  206. further interaction. 
  207.  
  208. This file has to be moved to the formats directory to be accessible 
  209. by the LATEX command. This can be archived by 
  210.  
  211.   RENAME LATEX.FMT TEX_FORMATS: 
  212.   SET FILE/PROTECTION=(W:RE) TEX_FORMATS:LATEX.FMT 
  213.  
  214. (If TEX_FORMATS: is located on a different disk in your installation, 
  215. you have to use the COPY command, instead. The protection setting enables 
  216. all users to use the new format.) 
  217.  
  218.  
  219.  
  220. PUTTING THE FILES WHERE LaTeX CAN READ THEM 
  221. =========================================== 
  222.  
  223. The LaTeX class and style files as well as some auxiliary .TEX files 
  224. need to be put in a directory of the TEX_INPUTS search path. In the 
  225. suggested setup, this is simply the parent directory of the location 
  226. where you have unpacked the distribution. 
  227. You should apply: 
  228.  
  229.   RENAME latexbug.tex, testpage.tex, docstrip.tex, - 
  230.       lablst.tex, idx.tex, nfssfont.tex, small2e.tex, sample2e.tex, - 
  231.       *.cls, *.clo, *.sty, *.fd, *.def, *.ist  [-] 
  232.  
  233.  
  234.  
  235. FINAL INSTALLATION STEPS 
  236. ======================== 
  237.  
  238. To use LaTeX, some preparations need to be done: 
  239.  
  240. 1.) You have to enshure that TeX looks into the right directories when 
  241.     searching for LaTeX styles and classes. In the suggested setup, 
  242.     the LaTeX core classes and styles have been put into the directory 
  243.     TEX_ROOT:[INPUTS.LATEX]. This directory needs to be part of the 
  244.     Texinputs search list, which is (normally) defined by the logical 
  245.     name TEX_INPUTS (without colon!). Check the TeX startup command file 
  246.     STARTTEX.COM (should be found in TEX_ROOT:[000000]). The list of 
  247.     equivalences in the definition of "TEX_INPUTS" should contain the 
  248.     directory where you intend to place the LaTeX2e classes. For correct 
  249.     operation, it is ABSOLUTELY neccessary that this directory is listed 
  250.     before any location of old LaTeX-2.09 files! 
  251.     (For efficiency, it might be best to place directories with frequently 
  252.     used packages/styles/classes near the top of the search list.) 
  253.  
  254. 2.) You have to modify (or add) the LATEX command definition in the TeX 
  255.     initialization procedure. The proposed setup is to use a "LATEX" DCL 
  256.     command, which gets defined in the DECUS-TEX.CLD command definition 
  257.     file. 
  258.     You have to edit the file TEX_ROOT:[EXE]DECUS-TEX.CLD. If there is no 
  259.     entry for a verb LATEX, add one by duplicating the definition for 
  260.     the verb TEX (and changing the verb name into LATEX). 
  261.     a) Modify the default value of the qualifier "FORMAT" into 
  262.        "TEX_FORMATS:LATEX" (if you had LaTeX-2.09, the old value 
  263.        was TEX_FORMATS:LPLAIN). 
  264.     b) Check, if the default value of the TEXINPUTS qualifier is 
  265.        the logical name you chose for the LaTeX2e input path. Normally 
  266.        this should be "TEX_INPUTS:" (WITH trailing colon!). 
  267.  
  268. Now you should rerun the command file TEX_ROOT:STARTTEX.COM to get the 
  269. changes to the TeX system setup into effect. 
  270. To trigger the redefinition of all TeX related logical names, you have 
  271. to delete the logical name TEX_ROOT by 
  272.    "DEASSIGN TEX_ROOT" 
  273. (or to log out and start a new session). 
  274.  
  275.  
  276.  
  277. CHECKING THAT THE INSTALLATION WORKED 
  278. ===================================== 
  279.  
  280. To check that the installation is working: 
  281.  
  282. * Be shure you have executed the STARTTEX.COM command file 
  283.   (found in the root directory of the TeX directory tree). 
  284.  
  285. * Set your current directory to TEX_ROOT:[INPUTS.LATEX.SRC] 
  286.   (or the location you used to unpack the LaTeX distribution). 
  287.  
  288. * Check that there is no file ARTICLE.CLS in this directory. 
  289.   If you have found one, rename or remove it. 
  290.  
  291. * Execute the command 
  292.  
  293.     LATEX LTXCHECK 
  294.  
  295.   This will run a test on the LaTeX installation and should produce 
  296.   'OK!' to a number of test.  If it does not, then see the `PROBLEMS' 
  297.   section in install.txt. 
  298.  
  299.   You have now installed LaTeX! 
  300.  
  301.  
  302.  
  303. POST INSTALLATION TASKS 
  304. ======================= 
  305.  
  306. In the DECUS TeX distribution, there is a command procedure FMTBUILD.COM 
  307. in the TEX_FORMATS: location to simplify recreation of all TeX formats 
  308. after a change or an update to the TeX program. You might want to 
  309. integrate the new LaTeX format into this procedure. The strategy of this 
  310. procedure is to copy all needed sources into the TEX_FORMATS: location and 
  311. building the format files right there. 
  312. To include the LaTeX format in this procecure, you have to add a section 
  313. looking similar to: 
  314. ======================= start here ======================== 
  315. $LATEX: 
  316. $LaTeX_STD: 
  317. $!LaTeX (LaTeX2e release), standard configuration: 
  318. $ copy TEX_ROOT:[INPUTS.LATEX.SRC]*.ltx *.*; 
  319. $ copy TEX_ROOT:[INPUTS.LATEX.SRC]texsys.cfg *.cfg 
  320. $ copy TEX_ROOT:[INPUTS.LATEX.SRC]hyphen.cfg *.cfg 
  321. $ initex "latex.ltx" 
  322. $ dele *.ltx;* /log 
  323. $ dele texsys.aux;* /log 
  324. $ dele texsys.cfg;* /log 
  325. $ dele hyphen.cfg;* /log 
  326. ====================== end here =========================== 
  327.  
  328. When you have decided to keep the LaTeX-2.09 system, you should 
  329. modify the corresponding section in FMTBUILD.COM to reflect the 
  330. changes described in the section "SAVING ANY OLD VERSION OF LaTeX"!! 
  331.  
  332.  
  333.  
  334. RUNNING LaTeX WITH OLD VERSIONS (PD V3.4 AND EARLIER) OF DECUS TeX 
  335. ================================================================== 
  336.  
  337. These version of DECUS TeX do no use the TEXINPUTS search path when 
  338. trying to open a file via \openin. This behaviour breaks the 
  339. enhance input file checking techniques implemented in LaTeX (LaTeX2e) 
  340. without further precautions. 
  341. To get around this problem, LaTeX allows an alternate way to specify the 
  342. TEXINPUTS search path to the file checking macros. This is done 
  343. through a special macro definition which has to be supplied by the 
  344. user (= LaTeX installer) via the file TEXSYS.CFG. 
  345. The following example shows a TEXSYS.CFG file which is known to work 
  346. when your LaTeX system files are accessed through the logical name 
  347. "TEX_INPUTS": 
  348.  
  349. %% texsys.cfg for DECUS TeX (VMS) 
  350. %% 
  351. % \subsection{VMS (???)} 
  352. % Some VMS implementations have different paths 
  353. % for |\openin| and |\input|. For these one could use definitions like 
  354. % the following: 
  355. \def\@currdir{[]} 
  356. \def\input@path{% 
  357.   {SYS$DISK:[]}% 
  358.   {TEX_INPUTS:}% 
  359. \endinput 
  360. %% 
  361. %% end of texsys.cfg for DECUS TeX 
  362.  
  363. For further details, see dircheck.dtx and texpert.txt. 
  364.  
  365.  
  366. --- Copyright 1994 Christian Spieler and the LaTeX3 project --- 
  367. ---              All rights reserved.                --- 
  368.